package com.zlfund.cat.zjgsmk.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by chenj
 * Created on 2017/8/17
 */

public class HomeBean extends BaseBean implements Serializable {

    /**
     * result : 1
     * c : 1
     * serviceBar : [{"id":18,"flag":"5","link":"7","img":"http://m.zjgsmk.com/f2/170123/175705ocb847p.png","del":0,"type":1},{"id":13,"sort":1,"flag":"5","link":"13","img":"http://m.zjgsmk.com/f2/170116/184706s8jqcqi.png","del":0,"type":1},{"id":14,"sort":2,"flag":"5","link":"15","img":"http://m.zjgsmk.com/f2/170116/1846526nofl7m.png","del":0,"type":1},{"id":15,"sort":3,"flag":"5","link":"11","img":"http://m.zjgsmk.com/f2/170123/175548acery69.png","del":0,"type":1}]
     * topimg : [{"id":5,"sort":1,"flag":"2","link":"607","img":"http://m.zjgsmk.com/f2/170808/133816u627fht.jpg","del":0,"type":0},{"id":4,"sort":2,"flag":"3","link":"张家港市旅游年卡","img":"http://m.zjgsmk.com/f2/170428/142837y9yo2ct.png","del":0,"type":0},{"id":1,"sort":5,"flag":"3","link":"张家港人力资源","img":"http://m.zjgsmk.com/f2/170515/09310108xrsj7.png","del":0,"type":0}]
     * homeBottonBar : [{"id":17,"sort":1,"img":"http://m.zjgsmk.com/f2/170122/17403130jh1bl.png","label":"广场","del":0,"type":3}]
     * suggest : [{"ico":"http://m.zjgsmk.com/f2/9/10.png","label":"张家港市民卡","count_num":525,"care_num":681},{"ico":"http://m.zjgsmk.com/f2/9/9.png","label":"张家港社会保障卡","count_num":246,"care_num":388},{"ico":"http://m.zjgsmk.com/f2/170104/110858jy9f1gt.png","label":"张家港市旅游年卡","count_num":48,"care_num":67},{"ico":"http://m.zjgsmk.com/f2/160621/185927d52gbxr.jpg","label":"张家港人力资源","count_num":668,"care_num":355},{"ico":"http://m.zjgsmk.com/f2/160901/1954528tkx2qv.png","label":"港城爆料","count_num":2140,"care_num":77},{"ico":"http://m.zjgsmk.com/f2/161103/210247x2ev1om.png","label":"传统武术--水道养生","count_num":41,"care_num":10},{"label":"张家港农村商业银行","count_num":15,"care_num":55},{"ico":"http://m.zjgsmk.com/f2/170728/132616n4lce6z.png","label":"港城租房","count_num":12,"care_num":2}]
     * serviceInfo : [{"title":"热门服务","contentArr":[{"title":"社保查询","sort":"1","ico":"http://m.zjgsmk.com/m2icos/hot_shebao.png","type":"1","section":"0"},{"title":"公交查询","sort":"2","ico":"http://m.zjgsmk.com/m2icos/hot_gongjiao.png","type":"1","section":"0"},{"title":"旅游年卡","sort":"3","ico":"http://m.zjgsmk.com/m2icos/hot_lvyounianka.png","type":"1","section":"0"}],"section":0},{"title":"市民卡、社保卡绑定","contentArr":[{"title":"简介","sort":"1","ico":"http://m.zjgsmk.com/m2icos/jianjie.png","type":"1","section":"1"},{"title":"绑定","sort":"2","ico":"http://m.zjgsmk.com/m2icos/bangding.png","type":"1","section":"1"},{"title":"激活卡","sort":"3","ico":"http://m.zjgsmk.com/m2icos/jihuoka.png","type":"1","section":"1"},{"title":"卡信息","sort":"4","ico":"http://m.zjgsmk.com/m2icos/kaxingxi.png","type":"1","section":"1"},{"title":"制卡进度","sort":"5","ico":"http://m.zjgsmk.com/m2icos/zhikajingdu.png","type":"1","section":"1"},{"title":"余额查询","sort":"6","ico":"http://m.zjgsmk.com/m2icos/yuechaxun.png","type":"1","section":"1"},{"title":"临时挂失","sort":"7","ico":"http://m.zjgsmk.com/m2icos/lingshiguashi.png","type":"1","section":"1"},{"title":"更改密码","sort":"8","link":"","ico":"http://m.zjgsmk.com/m2icos/genggaimima.png","type":"1","section":"1"},{"title":"变更手机","sort":"9","ico":"http://m.zjgsmk.com/m2icos/biangengshouji.png","type":"1","section":"1"}],"section":1},{"title":"公共服务","contentArr":[{"title":"社保查询","sort":"1","ico":"http://m.zjgsmk.com/m2icos/shebao.png","type":"1","section":"2"},{"title":"公积金查询","sort":"2","ico":"http://m.zjgsmk.com/m2icos/gongjijing.png","type":"1","section":"2"},{"title":"公交查询","sort":"3","ico":"http://m.zjgsmk.com/m2icos/gongjiaochaxun.png","type":"1","section":"2"},{"title":"预约挂号","sort":"4","ico":"http://m.zjgsmk.com/m2icos/yuyueguahao.png","type":"1","section":"2"},{"title":"违章查询","sort":"5","ico":"http://m.zjgsmk.com/m2icos/weizhangchaxun.png","type":"1","section":"2"},{"title":"旅游年卡","sort":"6","ico":"http://m.zjgsmk.com/m2icos/lvyouninaka.png","type":"1","section":"2"},{"title":"虚拟养老院","sort":"7","ico":"http://m.zjgsmk.com/m2icos/xuniyanglaoyuan.png","type":"1","section":"2"}],"section":2},{"title":"第三方服务","contentArr":[{"title":"港城房产","sort":"3","link":"http://m.zjgzf.cn","ico":"http://m.zjgsmk.com/m2icos/fangchan.png","type":"2","section":"3"},{"title":"充值缴费","sort":"4","link":"http://web.yiqianlian.com/mobile/mobileindex/zjgapp","ico":"http://m.zjgsmk.com/m2icos/chongzhijiaofei.png","type":"3","section":"3"},{"title":"汽车资讯","sort":"5","link":"http://auto.news18a.com/m/price/index/index/zhangjiagangshiminka/","ico":"http://m.zjgsmk.com/m2icos/qichezixun.png","type":"2","section":"3"},{"title":"同程旅游","sort":"6","link":"http://m.ly.com/?refid=186651218","ico":"http://m.zjgsmk.com/m2icos/tongchenglvyou.png","type":"2","section":"3"},{"title":"电影票","sort":"7","link":"http://m.wepiao.com/index.html?from=2999000000300100","ico":"http://m.zjgsmk.com/m2icos/dianyingpiao.png","type":"2","section":"3"},{"title":"牙科服务","sort":"8","link":"http://www.bllmit.com/zjgask/DentistOnlineOrder/MobileNew/website/index.aspx?code=001tycZK1CmWz80Z9LZK17HVYK1tycZB&state=BC6342BF-7674-4C31-84B5-85D76174A786","ico":"http://m.zjgsmk.com/m2icos/yake.png","type":"2","section":"3"},{"title":"快递查询","sort":"9","link":"http://m.kuaidi100.com","ico":"http://m.zjgsmk.com/m2icos/kuaidichaxun.png","type":"2","section":"3"}],"section":3}]
     * homeMiddleBar : [{"id":16,"sort":1,"flag":"5","link":"bus","img":"http://m.zjgsmk.com/f2/170122/173159g9ulg0q.png","label":"公交查询","del":0,"type":2}]
     */

    private List<ServiceBarBean> serviceBar;
    private List<TopimgBean> topimg;
    private List<SuggestBean> suggest;
    private List<ServiceInfoBean> serviceInfo;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getC() {
        return c;
    }

    public void setC(int c) {
        this.c = c;
    }

    public List<ServiceBarBean> getServiceBar() {
        return serviceBar;
    }

    public void setServiceBar(List<ServiceBarBean> serviceBar) {
        this.serviceBar = serviceBar;
    }

    public List<TopimgBean> getTopimg() {
        return topimg;
    }

    public void setTopimg(List<TopimgBean> topimg) {
        this.topimg = topimg;
    }

    public List<SuggestBean> getSuggest() {
        return suggest;
    }

    public void setSuggest(List<SuggestBean> suggest) {
        this.suggest = suggest;
    }

    public List<ServiceInfoBean> getServiceInfo() {
        return serviceInfo;
    }

    public void setServiceInfo(List<ServiceInfoBean> serviceInfo) {
        this.serviceInfo = serviceInfo;
    }
    @SerializedName("new")
    public List<NewBean> focus;

    public List<NewBean> getFocus(){
        return focus;
    }

    public void setFocus(List<NewBean> focus){
        this.focus = focus;
    }

    public static class ServiceBarBean implements Serializable {
        /**
         * id : 18
         * flag : 5
         * link : 7
         * img : http://m.zjgsmk.com/f2/170123/175705ocb847p.png
         * del : 0
         * type : 1
         * sort : 1
         */

        private int id;
        private String flag;
        private String link;
        private String img;
        private int del;
        private int type;
        private int sort;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getDel() {
            return del;
        }

        public void setDel(int del) {
            this.del = del;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }
    }

    public static class NewBean extends com.zlfund.cat.zjgsmk.adapter.BaseBean implements Serializable{

        /**
         * ico : http://m.zjgsmk.com/f2/160728/100039s0w74ce.png
         * label : 活动资讯
         * del : 1
         * count_num : 43
         * care_num : 63
         */

        private String ico;
        private String label;
        private int del;
        private int count_num;
        private int care_num;

        public String getIco() {
            return ico;
        }

        public void setIco(String ico) {
            this.ico = ico;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public int getDel() {
            return del;
        }

        public void setDel(int del) {
            this.del = del;
        }

        public int getCount_num() {
            return count_num;
        }

        public void setCount_num(int count_num) {
            this.count_num = count_num;
        }

        public int getCare_num() {
            return care_num;
        }

        public void setCare_num(int care_num) {
            this.care_num = care_num;
        }
    }

    public static class TopimgBean implements Serializable {
        /**
         * id : 5
         * sort : 1
         * flag : 2
         * link : 607
         * img : http://m.zjgsmk.com/f2/170808/133816u627fht.jpg
         * del : 0
         * type : 0
         */

        private int id;
        private int sort;
        private String flag;
        private String link;
        private String img;
        private int del;
        private int type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getDel() {
            return del;
        }

        public void setDel(int del) {
            this.del = del;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    public static class SuggestBean extends com.zlfund.cat.zjgsmk.adapter.BaseBean implements Serializable {
        /**
         * ico : http://m.zjgsmk.com/f2/9/10.png
         * label : 张家港市民卡
         * count_num : 525
         * care_num : 681
         */

        private String ico;
        private String label;
        private int count_num;
        private int care_num;

        public String getIco() {
            return ico;
        }

        public void setIco(String ico) {
            this.ico = ico;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public int getCount_num() {
            return count_num;
        }

        public void setCount_num(int count_num) {
            this.count_num = count_num;
        }

        public int getCare_num() {
            return care_num;
        }

        public void setCare_num(int care_num) {
            this.care_num = care_num;
        }
    }

    public static class ServiceInfoBean implements Serializable {
        /**
         * title : 热门服务
         * contentArr : [{"title":"社保查询","sort":"1","ico":"http://m.zjgsmk.com/m2icos/hot_shebao.png","type":"1","section":"0"},{"title":"公交查询","sort":"2","ico":"http://m.zjgsmk.com/m2icos/hot_gongjiao.png","type":"1","section":"0"},{"title":"旅游年卡","sort":"3","ico":"http://m.zjgsmk.com/m2icos/hot_lvyounianka.png","type":"1","section":"0"}]
         * section : 0
         */

        private String title;
        private int section;
        private List<ContentArrBean> contentArr;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getSection() {
            return section;
        }

        public void setSection(int section) {
            this.section = section;
        }

        public List<ContentArrBean> getContentArr() {
            return contentArr;
        }

        public void setContentArr(List<ContentArrBean> contentArr) {
            this.contentArr = contentArr;
        }

        public static class ContentArrBean implements Serializable {
            /**
             * title : 社保查询
             * sort : 1
             * ico : http://m.zjgsmk.com/m2icos/hot_shebao.png
             * type : 1
             * section : 0
             */

            private String title;
            private String sort;
            private String ico;
            private String type;
            private String section;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getIco() {
                return ico;
            }

            public void setIco(String ico) {
                this.ico = ico;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getSection() {
                return section;
            }

            public void setSection(String section) {
                this.section = section;
            }
        }
    }
}
